WPO\WC\PDF_Invoices\Settings D

Total Complexity 190
Dependencies 13
Dependents 1
Total lines 956
Lines of code 706
Logical lines of code 391
Comment lines 97
Methods 36
Properties 16

Methods 36

Method Rating Maintainability Complexity Lines of code
ajax_preview()
B
33 19 99
preview_order_search()
B
36 20 72
get_installed_templates()
A
45 13 36
get_common_document_settings()
A
56 13 15
schedule_yearly_reset_numbers()
A
43 10 50
yearly_reset_numbers()
A
46 9 37
maybe_migrate_template_paths()
A
49 9 29
add_settings_fields()
A
48 8 35
get_template_list_cache()
A
50 8 29
move_setting_after_id()
S
50 6 28
get_template_path()
S
54 6 21
maybe_schedule_yearly_reset_numbers()
S
60 5 13
maybe_disable_preview_on_settings_tabs()
S
60 5 12
settings_page()
S
51 4 26
get_output_mode()
S
59 4 16
get_sequential_number_store_method()
S
63 5 9
debug_settings_updated()
S
70 5 5
set_number_store()
S
58 4 14
yearly_reset_action_is_scheduled()
S
55 3 20
check_auto_increment_increment()
S
65 4 8
user_settings_capability()
S
63 3 11
general_settings_updated()
S
70 3 6
get_document_settings()
S
65 3 9
get_relative_template_path()
S
65 3 8
get_media_upload_setting_html()
S
61 2 12
__construct()
S
50 1 26
get_output_format()
S
66 2 8
normalize_path()
S
77 2 3
add_support_links()
S
62 2 10
maybe_delete_flush_rewrite_rules_transient()
S
72 2 6
instance()
S
72 2 6
menu()
S
64 1 11
user_can_manage_settings()
S
80 1 3
add_settings_link()
S
69 1 6
delete_template_list_cache()
S
81 1 3
set_template_list_cache()
S
76 1 4